package com.a16.yuejian.yuejian.service;

import com.a16.yuejian.yuejian.javabean.Club;
import com.a16.yuejian.yuejian.javabean.Course;

import java.util.List;

import retrofit2.Call;
import retrofit2.http.GET;
import retrofit2.http.Query;

/**
 * Created by 55080 on 2017/10/16.
 */

public interface CourseService {
    @GET("index.php/api/Course/allcourse")
    Call<List<Course>> allcourse(
            @Query("coachid")String coachid
    );
    @GET("index.php/api/Course/getclubcourse")
    Call<List<Course>> getclubcourse(
            @Query("clubid")String clubid
    );
}
